package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Permission;

public interface PermissionService {
    PageResult findBypage(QueryPageBean queryPageBean);

    Result checkIsRepKey(String keyword,String id);

    void deit(Permission permission);

    Permission findPermissionById(Integer id);

    void addPermission(Permission permission);

    Result findPermissionContentById(Integer id);
}
